import bus from "@/bus";
let data = {
  status: 'pass',
  totalItem: 1,
  pageSize: window.$pageSize,
  currentPage: 1,
  columns: [{
    title: '批次号',
    minWidth: 150,
    key: 'sn',
    align: 'left'
  }, {
    title: '创建时间',
    key: 'createDate',
    minWidth: 180,
    align: 'left'
  }, {
    title: '门店（家）',
    key: 'dataQuantity',
    align: 'right',
    minWidth: 150,
    render: (h, p) => { // 1积分2返利
      return h('span', {
        class: 'font-blue',
        style: { cursor: 'pointer' },
        on: {
          click: () => {
            bus.$emit('onLook', {rewardType: p.row.rewardType, sourceOrderId: p.row.sn})
          }
        }
      }, p.row.dataQuantity)
    }
  }, {
    title: '合计加返利',
    key: 'addRebate',
    align: 'right',
    minWidth: 150
  }, {
    title: '合计扣返利',
    key: 'reduceRebate',
    align: 'right',
    minWidth: 150
  }, {
    title: '合计加积分',
    key: 'addIntegral',
    align: 'right',
    minWidth: 150
  }, {
    title: '合计扣积分',
    key: 'reduceIntegral',
    align: 'right',
    minWidth: 150
  }],
  data: []
}
export default data
